import 'package:flutter/material.dart';
import 'package:toys_flutter/utils/style_utils.dart';

class ChatRoom extends StatefulWidget {
  const ChatRoom({super.key});

  @override
  State<ChatRoom> createState() => _ChatRoomState();
}

class _ChatRoomState extends State<ChatRoom> {
  @override
  Widget build(BuildContext context) {
    return Container();
  }
}

Widget buildChatRoom(BuildContext context) {
  return SizedBox(
      height: 50,
      child: Column(
        children: [
          const Text('创建自己的聊天室', style: StyleUtils.customTextStyle),
          const SizedBox(height: 20),
          TextButton(
              onPressed: () {},
              child: const Text(
                '创建聊天室',
                style: StyleUtils.customTextStyle,
              )),
        ],
      ));
}
